<?php
/**
 * Created by PhpStorm.
 * User: cy
 * Date: 18-4-28
 * Time: 下午11:02
 */
include 'Encrypter.class.php';
try{
    //echo Encrypter::generateKey('AES-256-CBC');die;
    $encrypt=new Encrypter();

    $token="ZXN5ZUpsMGZlLVhj44GNb2lkT2VpSnpaV3htSWl3aVlXeG5J44GHb2lVbE15TlRZaWZR77yg77yg.ZXN5ZUpsMWZjLTJjVm95ZFFlMjlrWlNJNknjgYdFMk7jgYdFek9UTmhZVE16T0RKaVltVmtNVOOBjTFaVGswTnpnMk1XTXlNbVkySWl3aWMyOTFJ44GHb2ljMkZoYzJKMWMybHVaWE56TeOBh2d5TWlJc0ltRuOBh1l5STZJbkJ2ZDJWeU3jgYdneU1pSXNJbWx6Y3lJNkluTmhZWE5pZFhOcGJtVnpjeTV0WkhOaFlYTm1iR0YwTG1OdmJTSXNJbUYxWkNJNkluUnZhMlZ1TG0xa2MyRmhjMlpzWVhRdVkyOXRJaXdpYVdGMEnjgYdveE5USTFNVFV4TXpFNUxDSmhaR1FpT2lJaWZR77yg77yg.b6xcPv_f8Z0tf8zkvepv5LpcHJJ_b6fnAFINoRGSkorOV-fAxHvARB__lznFtFmEjoYR8rhAkfx-7PAS3MQ_RfZbKjO2YJnUhm4JwKAkNR34RQV_GBK-JW8fQJM1vlmYSP11IPVr6EckoEyzgWzmAQA8um0bsg0W_SU11UKDVNs";

    $res1= $encrypt->decrypt($token);
    print_r($res1);
}catch (Exception $e){
    echo $e->getMessage();
}

